home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20020314-20021006 / 000423_not-a-real-address@usa.net_Fri Oct 4 10:04:13 EDT 2002.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  40 lines

  1. Article: 13759 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!ord-feed.news.verio.net!stl-feed.news.verio.net!news.cc.ukans.edu!logbridge.uoregon.edu!newsfeed.dacom.co.kr!newsfeed.hananet.net!news-xfer.nuri.net!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!news.supernews.com!not-for-mail
  3. From: those who know me have no need of my name <not-a-real-address@usa.net>
  4. Newsgroups: comp.lang.c,comp.protocols.kermit.misc
  5. Subject: Re: Getchar and null character
  6. Followup-To: comp.protocols.kermit.misc
  7. Date: 04 Oct 2002 03:51:02 GMT
  8. Organization: earthfriends
  9. Message-ID: <m1ofaaj21w.gnus@usa.net>
  10. References: <8847cac8.0210020017.45309597@posting.google.com> <mnjnpuk93854eqtlp43m3a68tmv6c44nei@4ax.com>
  11. User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Informed Management
  12.  (RC1), i686-redhat-linux)
  13. MIME-Version: 1.0
  14. Content-Type: text/plain; charset=us-ascii
  15. X-Complaints-To: abuse@supernews.com
  16. Lines: 21
  17. Xref: newsmaster.cc.columbia.edu comp.lang.c:599400 comp.protocols.kermit.misc:13759
  18.  
  19. in comp.lang.c i read:
  20.  
  21. ><off-topic>
  22. >Even in binary mode you might have a problem.  Many device drivers for
  23. >serial ports discard characters of binary 0, so the OS level and/or C
  24. >level drivers never see them.  One reason for this is that a break
  25. >sequence looks like a character of binary 0 with a framing error when
  26. >received by most UARTs.
  27. >
  28. >8 or 10 years ago I needed a desk-top program that could accept
  29. >uploads of binary data that would almost certainly contain binary 0
  30. >characters in the stream.  I couldn't find an off-the-shelf terminal
  31. >program for MS-DOS or Windows that wouldn't throw them away, so I
  32. >ended up having to write my own program to access the UART directly.
  33. ></off-topic>
  34.  
  35. if you find yourself in this sort of position again consider kermit, or at
  36. least the code therein.
  37.  
  38. -- 
  39. bringing you boring signatures for 17 years
  40.